/*
 * @Description: text
 * @LastEditors: 蔡霸霸
 * @LastEditTime: 2021-02-28 10:45:12
 */
import request from "@/utils/request";

export function getMainData(data) {
  return request({
    url: "/tbBrowseRecord/selectByUserCount",
    method: "get",
    params: {
      ...data
    }
  });
}

export function getChartData(data) {
  return request({
    url: "/tbBrowseRecord/selectByVideoNumAndDate",
    method: "get",
    params: {
      ...data
    }
  });
}

export function getTableData(data) {
  return request({
    url: "/tbBrowseRecord/selectByBrowseRecordList",
    method: "get",
    params: {
      ...data
    }
  });
}

export function getVideoList(data) {
  return request({
    url: "/tbBrowseRecord/selectByVideoRecordList",
    method: "get",
    params: {
      ...data
    }
  });
}
